package test.gateway.b.remote;

import feign.hystrix.FallbackFactory;
import org.springframework.stereotype.Component;

@Component
public class CommonFallback implements FallbackFactory<IdcardService> {
    @Override
    public IdcardService create(Throwable throwable) {
        return new IdCardServiceCallBack();
    }
}
